package com.weixing.mall.provider.model.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @program: mall-master
 * @description: 订单和库存编码重新绑定接口
 * @author: wangfang
 * @create: 2021-09-10 15:03
 **/
@Data
public class OrderBoundDto {
    /**
     * 订单ID
     */
    @ApiModelProperty(value = "订单ID")
    @NotNull(message = "订单ID不能为空")
    private  Long  orderId;
    /**
     * 仓库ID
     */
    @ApiModelProperty(value = " 仓库ID")
    @NotNull(message = "仓库ID不能为空")
    private  Long  depotId;
    /**
     * 仓库名称
     */
    @ApiModelProperty(value = " 仓库名称")
    @NotNull(message = "仓库名称不能为空")
    private  String  depotName;

    /**
     * 仓库名称
     */
    @ApiModelProperty(value = " 仓库编码")
    @NotNull(message = "仓库编码不能为空")
    private  String  depotCode;
    /**
     * 库存编码
     */
    @ApiModelProperty(value = " 库存编码")
    @NotNull(message = "库存编码不能为空")
    private  String depotSn;
    /**
     * 库存ID
     */
    @ApiModelProperty(value = " 库存ID")
    @NotNull(message = "库存ID不能为空")
    private Long productStockId;
    /**
     * 库存ID
     */
    @ApiModelProperty(value = " 库存ID")
    @NotNull(message = "商品ID不能为空")
    private Long productId;
    /**
     * 库存ID
     */
    @ApiModelProperty(value = " 库存ID")
    @NotNull(message = "货品ID不能为空")
    private Long goodsId;
}
